﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class TrangQuanLyNguoiDung : System.Web.UI.Page
{
    
    protected void Page_Load(object sender, EventArgs e)
    {
        Control ctr = null;
        switch (Request.QueryString["action"])
        {
            case "quanly":
                ctr = Page.LoadControl("Controls/UC_Nguoiquanly.ascx");
                break;
            case "khachhang":
                ctr = Page.LoadControl("Controls/UC_Khachhang.ascx");
                break;
            default:
                ctr = Page.LoadControl("Controls/UC_Nguoidung.ascx");
                break;
        }
        Panel1.Controls.Add(ctr);
        Page.Title = "Trang quản lý người dùng";
    }
}